/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.invoice.model.dao;

import com.invoice.busines.dto.ComprobanteDTO;
import com.invoice.exceptions.InvoiceException;
import com.invoice.enums.TipoComprobante;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Lidia
 */
public interface ComprobanteDAO{
    public List<ComprobanteDTO> findAll()throws InvoiceException;
    public Object add(Object object)throws InvoiceException;
    public void update(Object object)throws InvoiceException;
    public void delete(Object object)throws InvoiceException;
    public List<TipoComprobante> findTiposComprobante()throws InvoiceException;
    public List<ComprobanteDTO> findGroupByFecha()throws InvoiceException;
    public BigDecimal findTotalGroupByFecha(Date fecha) throws InvoiceException;
}
